{assign var="rowclass" value="uneven"}
{foreach from=$list item=row}
	<tr class="{$rowclass}" name="filerow{$row->id}" id="filerow{$row->id}">
		{include file="filerow.tpl"}
	</tr>
	{if $rowclass eq 'even'}
		{assign var="rowclass" value="uneven"}
	{else}
		{assign var="rowclass" value="even"}
	{/if}
{/foreach}